@layout("/common/_container.html",{js:["/assets/modular/system/workOrder/workOrder.js"],css:["/assets/common/css/beautiful.css"]}){
<style>
  .layui-form-label{
    width: 60px !important;
  }
</style>
<div class="layui-body-header">
  <span class="layui-body-header-title">工单派发</span>
</div>

<div class="layui-fluid">
  <div class="layui-row layui-col-space15">
    <div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
      <div class="layui-card">
        <div class="layui-card-body">
          <div class="layui-form toolbar">
            <div class="layui-form-item">

              <div class="layui-inline">
                <label class="layui-form-label">姓名</label>
                <div class="layui-inline lablew">
                  <input id="name" class="layui-input" type="text" placeholder="请输入姓名" style="width: 120px"  autocomplete="off"/>
                </div>
              </div>
              <div class="layui-inline">
                <div class="layui-inline">
                  <label class="layui-form-label">状态</label>
                  <div class="layui-inline lablew">
                    <select id="sta"  name="sta" lay-filter="sta" lay-search="">
                      <option value="">状态</option>
                      <option value="0">未派发</option>
                      <option value="1">已派发</option>
                      <option value="2">已回复</option>
                    </select>
                  </div>
                </div>
              </div>
              <div class="layui-inline">
                  <button id="btnSearch" class="layui-btn layui-btn-sm marrig">搜索</button>
                  <button id="btnAdd" class="layui-btn icon-btn ml0 layui-btn-sm">添加工单</button>
              </div>
            </div>
          </div>
          <table class="layui-table" id="btyCwJsTable" lay-filter="btyCwJsTable"></table>
        </div>
      </div>
    </div>
  </div>
</div>

<script type="text/html" id="tableBar">
    {{# if(d.sta=="0"){ }}
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">派单</a>
    {{# }}}
  <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>
</script>
@}